package com.yuanfengerp.basicInfoManage.addressBase.dao;

import com.yuanfengerp.basicInfoManage.addressBase.model.AddressLibrary;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Mapper
public interface IAddressLibDao {
    // 查询
    List<AddressLibrary> selectAddressLib(Map<String , Object> params);
    // 新增
    int insertAddressLib(AddressLibrary addressLibrary);
    // 根据名称查询
    AddressLibrary selectAddressByName(String addressLibraryName);
    // 根据ID修改
    int updateAddressByID(AddressLibrary addressLibrary);

    Integer count();
}
